package com.nf.test02;

import org.junit.jupiter.api.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class test01 {
    @Test
    void  go(){
    Datesource datesource=new Datesource();
        ApplicationContext applicationContext=new ClassPathXmlApplicationContext("Application.xml");
        datesource=(Datesource) applicationContext.getBean("datesource");
        System.out.println(datesource.getProperties());
    }
}
